How do you find the relative minimum and maximum

welcome to shbcf.ru